package com.bootdo.system.service.impl;

import java.util.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.bootdo.common.domain.Tree;
import com.bootdo.system.dao.RebateDao;
import com.bootdo.system.domain.DeptDO;
import com.bootdo.system.domain.RebateDO;
import com.bootdo.system.service.RebateService;
import com.bootdo.system.vo.UserVO;

import org.springframework.web.multipart.MultipartFile;



@Transactional
@Service
public class RebateServiceImpl implements RebateService {
	@Autowired
	RebateDao rebateDo;

	@Override
	public RebateDO get(Long id) {
		// TODO Auto-generated method stub
		return rebateDo.get(id);
	}

	@Override
	public List<RebateDO> list(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return rebateDo.list(map);
	}

	@Override
	public List<RebateDO> listUser(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int count(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return rebateDo.count(map);
	}

	@Override
	public int save(RebateDO user) {
		// TODO Auto-generated method stub
		return rebateDo.save(user);
	}

	@Override
	public int update(RebateDO user) {
		// TODO Auto-generated method stub
		return rebateDo.update(user);
	}

	@Override
	public int remove(Long userId) {
		// TODO Auto-generated method stub
		return rebateDo.remove(userId);
	}

	@Override
	public int batchremove(Long[] userIds) {
		// TODO Auto-generated method stub
		return rebateDo.batchRemove(userIds);
	}

	@Override
	public boolean exit(Map<String, Object> params) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public Set<String> listRoles(Long userId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int resetPwd(UserVO userVO, RebateDO RebateDO) throws Exception {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int adminResetPwd(UserVO userVO) throws Exception {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Tree<DeptDO> getTree() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int updatePersonal(RebateDO RebateDO) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Map<String, Object> updatePersonalImg(MultipartFile file, String avatar_data, Long userId) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int updatePhone(RebateDO RebateDO) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public boolean noexit(Map<String, Object> params) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public int saveAdmin(RebateDO user) {
		// TODO Auto-generated method stub
		return 0;
	}



	
	

}
